package model.vo;

import java.io.Serializable;

import utils.FNVHash;


/**
 * The persistent class for the station database table.
 * 
 */
public class MsgStation implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public String city;

	public String code;

	public String county;

	public Long hashid;

	public Long getHashid() {
		return FNVHash.hash64(orgcode+code);
	}

	public Boolean isactive;

	public String name;

	public String orgcode;

	public String province;

	public String secondname;

	public String stationlvl;

	public Long updatetime;

	public MsgStation() {
	}

	public MsgStation(String city, String code, String county,
			Boolean isactive, String name, String orgcode, String province,
			String secondname, String stationlvl, Long updatetime) {
		super();
		this.city = city;
		this.code = code;
		this.county = county;
		this.isactive = isactive;
		this.name = name;
		this.orgcode = orgcode;
		this.province = province;
		this.secondname = secondname;
		this.stationlvl = stationlvl;
		this.updatetime = updatetime;
		this.hashid = getHashid();
	}
	

}